

#ifndef __DRIVER_PWM_H
#define __DRIVER_PWM_H

#include "stdint.h"

#define PWM_PERIOD_REG      120
#define PWM_PERIOD_REG_HALF (PWM_PERIOD_REG >> 1)


extern void pwm_init(void);
extern void pwm_output(uint16_t *duty_addr, uint16_t num);


#endif


